import * as React from 'react'
import {tool, View, Text} from '../IKit/IKit'

interface IProps extends React.HTMLProps<HTMLElement> {}
interface IState {}

export class Show extends React.Component<IProps, IState> {
	static defaultProps = {};
	constructor(props:IProps){
		super(props)
		this.state = {}
	}
	componentWillMount(){}
	render(){
		return (
			<div {...this.props}>{this.props.children}
				<View style={{backgroundColor:'#4f8', fontSize:30, height:30}}>the view</View>
			</div>	
		)
	}
	componentDidMount(){
		// let view = this.refs['view'] as View;
	}
	componentWillReceiveProps(){}
	shouldComponentUpdate(){ return true }
	componentWillUpdate(){}
	componentWillUnmount(){}

	thelog(){ console.log('show log')}
}